package com.copm.demonstrationsystem.dao.introductionfeatures;

import com.copm.demonstrationsystem.pojo.introductionfeatures.CompanyHonor;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

/**
 * @Author: Yuan Baiyu
 * @Date: Created in 22:53 2018/4/30
 */
@Repository
public interface CompanyHonorDao extends JpaRepository<CompanyHonor,Long> {

    @Query(value = "SELECT * FROM company_honor ",nativeQuery = true)
    CompanyHonor findPage();
}
